<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/cart.css">
    <link rel="stylesheet" href="../css/font/iconfont.css">
</head>

<body>
    <div class="header">
        <p>聚美优品欢迎您，<a href="login.html"><span>登录</span></a><i>|</i><a href="register.html"><span>免费注册</span></a></p>
    </div>
    <div class="logo">
        <h2>
            <img src="../img/cartlogo.png" alt="">
        </h2>
    </div>
    <p class="xian"></p>
    <div class="cartdie">
        <div class="carticon">
            <img src="../img/carticon.png" alt="">
        </div>
        <div class="cartright">
            <h2>您的购物车中没有商品，请先去挑选心爱的商品吧！</h2>
            <p>您可以<span id="backindex">返回首页</span>挑选喜欢的商品，或者</p>
            <h3>
                <input type="text" placeholder="搜搜您想要的商品">
                <span class="iconfont icon-sousuo"></span>
            </h3>
        </div>
    </div>
    <div class="cartshow">
        <div class="cart-nav">
            <input type="checkbox" name="" id="more"><span>全选</span>
            <h2>商品名称</h2>
            <ul>
                <li>单价</li>
                <li>数量</li>
                <li>小计</li>
                <li>操作</li>
            </ul>
        </div>
        <!-- <div class="cart-list">
            <p class="ipt-p"><input type="checkbox" name="" id="" class="less"></p>
            <p class="img-p"><img src="" alt=""></p>
            <p class="name-p">商品名称</p>
            <p class="less-p">单价</p>
            <p class="num-p">
                <input type="button" value="-" class="sub-btn">
                <input type="text" value="" class="num-ipt">
                <input type="button" value="+" class="add-btn">
            </p>
            <p class="small-p">小计</p>
            <p class="delete-p">删除</p>
        </div> -->
        <div class="res-num">
            <p>合计：<i>￥</i><span id="resnum">0</span><input type="button" value="去结算"></p>
        </div>
    </div>

</body>

</html>

<script src="../js/jquery-1.11.3.min.js"></script>
<script src="../js/cart.js"></script>

<script>

    $('#backindex').click(function () {
        location.href = 'index.html'
    })



</script>